package com.example.javapoint.keywords;

public class KeyWord {
    private int name;

    private String value;

    private float dollar;

    public KeyWord(int name, String value) {
        this.name = name;
        this.value = value;
    }

    public KeyWord(int name, String value, float dollar) {
        this(name, value);
        this.dollar = dollar;
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String printValue(){

        return this.getValue();
    }

    public float getDollar() {
        return dollar;
    }

    public void setDollar(float dollar) {
        this.dollar = dollar;
    }
}
